<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

require_once 'BluesCoders/View/Standart.php';

/**
 * Description of Standart
 *
 * @author miho
 */
class BluesCoders_View_Resolver_Standart {

    protected $_viewSuffix = ".php";
    protected $_viewPrefix = "";

    public function setViewPrefix($value) {
        $this->_viewPrefix = $value;
    }

    public function setViewSuffix($value) {
        $this->_viewSuffix = $value;
    }

    public function getView($name) {
        $view = new BluesCoders_View_Standart();
        $view->setScriptPath($this->_viewPrefix . $name . $this->_viewSuffix);
        return $view;
    }

}
?>
